Set PS Variables
Description
Set PS Variables entry sets PS Variables with global or local scope as specified. These variables are available in the same process.
Configurations
No. | Field Name | Description |
---|---|---|
1 | Step name | Name of the process entry. This name has to be unique in a single process. |
Field values (Tabular): | ||
2 | Variable name | Specify the variable name to be set. |
3 | Scope | Specify the scope of the variable (Local or Global). Note: Global variables are available throughout the lifecycle of the parent workflow/process. They can be created at any sub-level and it will be available after that to the entire scope. They will be destroyed after the main or parent workflow/process ends. Local variables are available only in the workflow/process where it has been created. They are not available to the child workflow/process.The same variable name can be used for global and local scopes simultaneously. The value modified or fetched is completely based on the scope specified as mentioned in the note below. Note: The PS variables are added to the existing list which pops up on Ctrl-Space where applicable. The format of these variables in the list will be as However, If the child workflow/process is already opened and a variable is added in the parent workflow/process. This variable is not reflected directly at design time (i.e. on Ctrl-Space) although there no issues during runtime. There are two options for this, • The user can type the variable name where required • Reopen the child workflow/process (from Open referenced object) after the variable is added. |
4 | Default value | Specify the default value of the variable. |
Note: The PS variables set in this cannot be used for database connection details.
No. | Field Name | Description |
---|---|---|
Common Buttons | ||
1 | OK | On click of this button. It will check the field values. If any required field values are missing then it will display validation error message. If all the required field values are provided then it will save the field values. |
2 | Cancel | On click of this button, it will cancel the window and does not save any values. |
3 | Get Fields | Click this button to fetch the fields from the previous steps in the workflow stream. |